package com.bean.vo;

import com.bean.entity.TestDetail;
import com.bean.entity.TestInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 试题信息
 */
public class TestDetailVo implements Serializable {
    private Integer id;
    private Integer testId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date testTime;
    private Integer titleNum;
    //题型
    private String titleType;
    //试题点
    private String knowledge;
    //考察知识点
    private Integer konwdlage;
    //最低分
    private Double lowestScore;
    //最高分
    private Double highestScore;
    //班级平均分
    private Double classesAve;
    //全校平均分
    private Double schoolAve;

   private TestInfo testInfo;

    @Override
    public String toString() {
        return "TestDetailVo{" +
                "id=" + id +
                ", testId=" + testId +
                ", testTime=" + testTime +
                ", titleNum=" + titleNum +
                ", titleType='" + titleType + '\'' +
                ", knowledge='" + knowledge + '\'' +
                ", konwdlage=" + konwdlage +
                ", lowestScore=" + lowestScore +
                ", highestScore=" + highestScore +
                ", classesAve=" + classesAve +
                ", schoolAve=" + schoolAve +
                ", testInfo=" + testInfo +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTestId() {
        return testId;
    }

    public void setTestId(Integer testId) {
        this.testId = testId;
    }

    public Date getTestTime() {
        return testTime;
    }

    public void setTestTime(Date testTime) {
        this.testTime = testTime;
    }

    public Integer getTitleNum() {
        return titleNum;
    }

    public void setTitleNum(Integer titleNum) {
        this.titleNum = titleNum;
    }

    public String getTitleType() {
        return titleType;
    }

    public void setTitleType(String titleType) {
        this.titleType = titleType;
    }

    public String getKnowledge() {
        return knowledge;
    }

    public void setKnowledge(String knowledge) {
        this.knowledge = knowledge;
    }

    public Integer getKonwdlage() {
        return konwdlage;
    }

    public void setKonwdlage(Integer konwdlage) {
        this.konwdlage = konwdlage;
    }

    public Double getLowestScore() {
        return lowestScore;
    }

    public void setLowestScore(Double lowestScore) {
        this.lowestScore = lowestScore;
    }

    public Double getHighestScore() {
        return highestScore;
    }

    public void setHighestScore(Double highestScore) {
        this.highestScore = highestScore;
    }

    public Double getClassesAve() {
        return classesAve;
    }

    public void setClassesAve(Double classesAve) {
        this.classesAve = classesAve;
    }

    public Double getSchoolAve() {
        return schoolAve;
    }

    public void setSchoolAve(Double schoolAve) {
        this.schoolAve = schoolAve;
    }

    public TestInfo getTestInfo() {
        return testInfo;
    }

    public void setTestInfo(TestInfo testInfo) {
        this.testInfo = testInfo;
    }
}
